

<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head >


  <meta name="data-spm" content="a2oeg">
  <meta name="aplus-auto-exp-visible" content="0.5">
  <meta name="aplus-auto-exp-duration" content="500">
  <meta name="aplus-auto-exp" content='[{"logkey":"/damai_pc.pcexp.exp","tag":"div","filter":"data-exp","props":["ic_id","usercode"]}]'>
  <script type="text/javascript" src="/js/jquery-2.1.4.min.js"  th:src="@{/js/jquery-2.1.4.min.js}"></script>
  <link rel="shortcut icon" href="//img.alicdn.com/tfs/TB1RxAHSmrqK1RjSZK9XXXyypXa-16-16.ico" type="image/x-icon">
  <link rel="stylesheet" type="text/css" href="/order/css/index.css" th:href="@{/order/css/index.css}"/>
  <link rel="stylesheet" href="/order/css/fde92f6c8c614c86aac84198fdb91e41.css" th:href="@{/order/css/fde92f6c8c614c86aac84198fdb91e41.css}"/>
  <script>
    var yellowStripTip = "";
    if(yellowStripTip != null && yellowStripTip !== undefined || yellowStripTip !== ''){
      window.yellowStripTip = yellowStripTip;
    }
  </script>
</head>

<body data-spm="orderdetail"><script>
  with (document) with (body) with (insertBefore(createElement("script"), firstChild)) setAttribute("exparams", "userid=&aplus&pu_i=175250914&workno=&asid=AQAAAADj10FhUiuJYQAAAAD8PYft/h9xNQ==", id = "tb-beacon-aplus", src = (location > "https" ? "//g" : "//g") + ".alicdn.com/alilog/mlog/aplus_v2.js")
</script>

<!--[if gte IE 8]>
<div style="height: 40px;line-height: 40px;background-color: #ffedf4; color: #FF1268; text-align: center; ">由于您的浏览器版本过低，为了您更好的体验，请使用chrome浏览器或升级至IE10以上版本</div>
<![endif]-->


<style>
  .sidebar .item:nth-last-child(2){
    /*display: none;*/
  }
  .dm-header-banner {
    width: 100%;
    height: 60px;
    background-repeat: no-repeat;
    background-size: cover;
/*
    background-image: url('static/order/images/o1cn01uf9thn1de7txdinpy_!!6000000003760-2-tps-2880-120.png');
*/
  }
</style>
<!--<div class="dm-header-banner"></div>-->
<div class="dm-header-wrap">
  <div class="dm-header-box" data-spm="top">
    <!--<script type="text/javascript" th:src="@{/js/bootstrap-3.3.7-dist/js/bootstrap.min.js}"></script>
<link type="text/css"  rel="stylesheet" th:href="@{/js/bootstrap-3.3.7-dist/css/bootstrap.min.css}">-->

<!--
    <a href="/home"><img class="i-logo" src="order/picture/tb1fbvffu3thkvjszsgxxx4qfxa-230-104.png" alt="大麦" /></a>
-->
    <a href="/home"><img class="i-logo" src="/wl/picture/tb1fbvffu3thkvjszsgxxx4qfxa-230-104.png" alt="大麦" /></a>
    <div class="location-header">
      <img class="i-icon-location" src="order/picture/tb1xhduxngybunjy0fnxxx5lpxa-28-32.png" alt="定位" />
      <span class="city-location">全国</span>
      <img class="i-arrow-location" src="order/picture/tb1vnubxstybenjsspaxxaoofxa-20-12.png" alt="箭头" />
      <div class="city-header-wrap">
        <div class="city-header" data-spm="city">
          <div class="now-city">
            <span class="title-city">当前城市:</span>
            <span class="name-city select-city">全国</span>
          </div>
          <div class="hot-city">
            <span class="title-city">热门城市:</span>
            <div class="list-other"></div>
          </div>
          <div class="other-city">
            <span class="title-city">其他城市:</span>
            <div class="list-other"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="recommend-header">
<!--
      <a href="//search.damai.cn/search.htm?order=1" class="type-recommend" data-spm="dcategory">分类</a>
-->
      <a href="/home" class="type-recommend select" data-spm="dhome">首页</a>

      <a href="/search" class="type-recommend" data-spm="dcategory">分类</a>

    </div>
    <div class="right-header" data-spm="nick">

      <div class="box-header user-header">
        <a href="javascript:void(0)" class="J_userinfo_img" data-spm="duserinfo">
          <img class="i-box-header i-user" src="order/picture/tb14ukcgqywbunjy0fpxxassxxa-54-54.png" /></a>
        <a href="//passport.damai.cn/accountinfo/myinfo" class="J_userinfo_name" data-spm="duserinfo">
          <div class="span-box-header name-user"></div>
        </a>
        <!--<div class="login-user show">
          <span class="span-box-header span-user" data-spm="dlogin">登录</span>
        </div>-->
        <div class="login-user show">
          <span class="span-box-header span-user" data-spm="dlogin" onclick="loginUser()">登录</span>
        </div>
        <div class="list-wrap">
          <div class="list-login">
            <a href="/myselfInfo" class="li-login select" data-spm="duserinfo">个人信息</a>
            <a href="/lgf2" class="li-login" data-spm="daccountsetting">账号设置</a>
            <a href="/orderList" class="li-login" data-spm="dordermanage">订单管理</a>
            <a href="javascript:logout()" data-spm="dexit" class="li-login out-login">退出登录</a>
          </div>




          <!--<div class="list-login">
            <a href="//passport.damai.cn/accountinfo/myinfo" class="li-login select" data-spm="duserinfo">个人信息</a>
            <a href="//my.damai.cn/account/accountSafe" class="li-login" data-spm="daccountsetting">账号设置</a>
            <a href="//orders.damai.cn/orderList" class="li-login" data-spm="dordermanage">订单管理</a>
            <a href="//passport.damai.cn/account/logout" data-spm="dexit" class="li-login out-login">退出登录</a>
          </div>-->
        </div>
      </div>
      <div class="box-header download-header">
        <img class="i-box-header i-download" src="djh/picture/tb1a9eigkusbunjy1xcxxcyjfxa-54-54.png" alt="下载" />
        <span class="span-box-header">下载</span>
        <div class="ewm-download">
          <img class="i-ewm" src="https://img.alicdn.com/tfs/TB1TBEJSkvoK1RjSZFNXXcxMVXa-280-280.jpg" />
        </div>
      </div>
    </div>
    <div class="search-header" data-spm="searchtxt">
      <img class="i-search" src="order/picture/tb1qv3jxgmwbunjy1xaxxxcbxxa-34-36.png" alt="搜索" />
      <input class="input-search" placeholder="搜索明星、演出、体育赛事" data-spm="dsearchbtn" id="input-search"/>
      <div class="btn-search" data-spm="dsearchbtn2" onclick="searchGoods()">搜索</div>
      <div class="list-search-wrap">
        <div class="list-search">
        </div>
      </div>
    </div>
  </div>
</div>
<div class="w1200">
  <div class="dm_coupon_right" >
    <div class="navigation">   <a href="//www.damai.cn">首页</a> <span>></span>  <a href="javascript:void(0);">我的大麦</a><span>></span><a href="/orderList">订单管理</a><span>></span><span class="cur">订单编号：2097477146440451133</span> </div>
    <hr/>
    <div id="navigation">
      <div class="next-loading order-info" data-spm-anchor-id="a2oeg.orderdetail.0.i0.581bqyyUqyyUvN">
        <div class="next-loading-component">
          <div style="display: block;">
            <div class="next-row next-row-justify-space-between order-info-top">
              <div class="next-col order-info-left">
                <div class="next-row next-row-justify-space-between order-left-top">
                  <div class="next-col">
                    订单号：<span id="dingdan"></span>

                  </div>
                </div>
                <div class="next-row next-row-justify-space-between next-row-align-bottom">
                  <div class="next-col order-info-left-bottom-left">
                    <span class="order-status-desc" id="state1"></span>
                    <span class="order-status-info" id="state2"></span>
                  </div>
                  <div class="next-col order-price">
                    需付款：
                    <em>￥<span id="zongjia3"></span> </em>
                  </div>
                </div>
              </div>
            </div>
            <div style="display: none;"></div>
            <div class="next-table order-info-list">
              <div class="next-table-inner">
                <div class="next-table-header">
                  <div class="next-table-header-inner">
                    <table>
                      <colgroup>
                        <col style="width: 35%;" />
                        <col style="width: 17%;" />
                        <col style="width: 11%;" />
                        <col style="width: 11%;" />
                        <col style="width: 11%;" />
                        <col style="width: 15%;" />
                      </colgroup>
                      <tbody>
                      <tr>
                        <th rowspan="1" class="next-table-header-node first single">
                          <div class="next-table-cell-wrapper">
                            项目信息
                          </div></th>
                        <th rowspan="1" class="next-table-header-node seatInfo">
                          <div class="next-table-cell-wrapper">
                            座位信息
                          </div></th>
                        <th rowspan="1" class="next-table-header-node">
                          <div class="next-table-cell-wrapper">
                            单价
                          </div></th>
                        <th rowspan="1" class="next-table-header-node">
                          <div class="next-table-cell-wrapper">
                            数量
                          </div></th>
                        <th rowspan="1" class="next-table-header-node">
                          <div class="next-table-cell-wrapper">
                            优惠
                          </div></th>
                        <th rowspan="1" class="next-table-header-node last">
                          <div class="next-table-cell-wrapper">
                            小计
                          </div></th>
                      </tr>
                      </tbody>
                    </table>
                  </div>
                </div>
                <div class="next-table-body">
                  <table>
                    <colgroup>
                      <col style="width: 35%;" />
                      <col style="width: 17%;" />
                      <col style="width: 11%;" />
                      <col style="width: 11%;" />
                      <col style="width: 11%;" />
                      <col style="width: 15%;" />
                    </colgroup>
                    <tbody>
                    <tr class="next-table-row last first hovered">
                      <td class="single next-table-cell first" colspan="1" rowspan="1">
                        <div class="next-table-cell-wrapper">
                          <div class="next-row project-name-wrapper" data-spm="list">
                            <div class="next-col project-name-img pointer">
                              <img src="" data-spm="ditempic" id="shopImg"/>
                            </div>
                            <div class="next-col project-name-right">
                              <div class="next-row project-name pointer" data-spm="dtitle">
                                <span id="shopName"></span>
                              </div>
                              <div class="next-row project-name-perform">
<!--
                                <span id="a2">演出场次:2021.09.18 20:00</span>
-->
                              </div>
                              <div class="next-row project-name-venue">
                                场馆：<span id="goodsAdress"></span>
                              </div>
                              <div class="next-row project-name-tips"></div>
                            </div>
                          </div>
                        </div></td>
                      <td class="seatInfo next-table-cell">
                        <div class="next-table-cell-wrapper">
                          <span id="zuo"></span>
                        </div></td>
                      <td class="next-table-cell">
                        <div class="next-table-cell-wrapper">
                          ￥<span id="price"></span>
                        </div></td>
                      <td class="next-table-cell">
                        <div class="next-table-cell-wrapper">
                          <span id="shopCount"></span>
                        </div></td>
                      <td class="next-table-cell">
                        <div class="next-table-cell-wrapper">
                          <span class="" id="youhui"></span>
                        </div></td>
                      <td class="next-table-cell last">
                        <div class="next-table-cell-wrapper">
                          <span class="total" id="zonnjia"></span>
                        </div></td>
                    </tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
            <div style="display: none;"></div>
            <div class="next-row order-info-grid grid-four">
              <div class="next-col grid-delivery">
                <div class="next-row gird-col-title">
                  配送信息
                </div>
                <div class="next-row">
                  <div class="grid-field-title">
                    配送方式：
                  </div>电子票
                </div>
                <div class="next-row on-site">
                  <div class="grid-field-title">
                    取票方式：
                  </div>
                  <div class="next-col on-site-address">
                    请通过大麦APP中票夹展示的二维码直接入场
                  </div>
                </div>
                <div class="next-row">
                  <div class="grid-field-title">
                    收货人:<span id="contacts"></span>
                  </div>
                </div>
                <div class="next-row">
                  <div class="grid-field-title">
                   <!-- 手机号：<span id="contactsPhone"></span>-->
                  </div>
                </div>
              </div>
              <div class="next-col grid-order">
                <div class="next-row gird-col-title">
                  订单信息
                </div>
                <div class="next-row">
                  订单号： <span id="dingdan2"></span>
                </div>
                <div class="next-row">
                  创建时间：<span id="orderDate"></span>
                </div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
              </div>
              <div class="next-col grid-invoice">
                <div class="next-row gird-col-title">
                  发票信息
                </div>
                <div class="next-row">
                  <div class="next-col">
                    发票类型：
                  </div>
                  <div class="next-col grid-invoice-content">
                    请在演出开始前，前往大麦APP开具发票
                  </div>
                </div>
              </div>
              <div class="next-col grid-pay">
                <div class="next-row gird-col-title">
                  金额明细
                </div>
                <div class="next-row">
                  商品总价：<span id="zonnjia2"></span>
                  <input type="hidden" id="couponId" value="" name="couponId">
                </div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
                <div class="next-row"></div>
              </div>
            </div>
            <div class="order-info-buyers" style="display: none;"></div>
          </div>
        </div>
      </div>
    </div>
      </div>
</div>



<div class="dm-footer">
  <div class="w1200">
    <ul class="footer__links">

      <li class="footer__links__list"><a href="//help.damai.cn" target="_blank" data-spm="flink0">帮助中心</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=69&amp;categoryId=30" target="_blank" data-spm="flink1">公司介绍</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=70&amp;categoryId=30" target="_blank" data-spm="flink2">品牌识别</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=72&amp;categoryId=30" target="_blank" data-spm="flink3">公司大事记</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=40&amp;categoryId=14" target="_blank" data-spm="flink4">协议及隐私权政策</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;jubao.alibaba.com&#x2F;internet&#x2F;readme.htm?spm=a2o6e.search.0.0.72f44d15Votov6&amp;site=damai" target="_blank" data-spm="flink5">廉正举报</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;help.damai.cn&#x2F;helpPage.htm?pageId=58&amp;categoryId=5" target="_blank" data-spm="flink6">联系合作</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;job.alibaba.com&#x2F;zhaopin&#x2F;positionList.htm?keyWord=JXU1OTI3JXU5RUE2&amp;_input_charset=UTF-8" target="_blank" data-spm="flink7">招聘信息</a></li>
      <li class="footer__links__grep">|</li>

      <li class="footer__links__list"><a href="&#x2F;&#x2F;x.damai.cn&#x2F;markets&#x2F;special&#x2F;fangzhapian?spm=a2o6e.home.0.0.75df48d3hqGWGD&amp;wh_ttid=pc" target="_blank" data-spm="flink8">防骗秘籍</a></li>


    </ul>
    <div class="footer__ft">
      <div class="footer__ft_fl">
        <a href="//www.damai.cn/?spm=a2o6e.home.0.0.591b48d3QzpG8B" target="_blank" class="footer__ft__logo">
          <img src="order/picture/tb1otmasmzqk1rjszpxxxc4tvxa-167-60.png" />
        </a>
        <div class="footer__ft__code__box">
          <img class="footer__ft__code" src="http://img.alicdn.com/tfs/TB1TBEJSkvoK1RjSZFNXXcxMVXa-280-280.jpg" alt="">
          <span>APP下载</span>
        </div>
      </div>
      <div class="footer__ft_fr">
        <div class="footer__fr__contact">

          <a style="margin-left:0;" href="//online.damai.cn/alime/index?from=damai_pc_item&v=3" class="footer__fr__contact__btn alime">在线客服</a>
        </div>
        <ul class="footer__ft__words">
          <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN01J1OnUU1g76CE6kSh6_!!6000000004094-0-tps-2480-3507.jpg" target="_blank">京ICP证031057号</a></li>
          <li class="footer__ft__grep">|</li>
          <li class="footer__ft__certificate"><a href="https://beian.miit.gov.cn/#/Integrated/recordQuery" target="_blank">京ICP备11043884号</a></li>
          <li class="footer__ft__grep">|</li>
          <li class="footer__ft__certificate"><a
                  href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502037341" target="_blank">京公网安备11010502037341号</a>
          </li>
          <li class="footer__ft__grep">|</li>
          <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN0154oubE1iLsBEGmx9V_!!6000000004397-2-tps-1694-1138.png" target="_blank">广播电视节目制作经营许可证(京)字第02253号</a></li>
        </ul>
        <ul class="footer__ft__words">
          <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i2/O1CN01tlZwxM1LiYeoBTfIB_!!6000000001333-0-tps-2480-3507.jpg" target="_blank">网络文化经营许可证 京网文[2019]4082-420号</a></li>
          <li class="footer__ft__grep">|</li>
          <li class="footer__ft__certificate"><a href="https://gw.alicdn.com/imgextra/i1/O1CN01V4XPXw1TNxm6UL9RO_!!6000000002371-0-tps-1653-2339.jpg" target="_blank">营业性演出许可证京市演587号</a></li>
        </ul>
        <ul class="footer__ft__words">
          <li class="footer__ft__certificate">北京大麦文化传媒发展有限公司 版权所有</li>
          <li class="footer__ft__certificate"><a
                  href="//www.damai.cn/?spm=a2o6e.home.0.0.591b48d3QzpG8B">大麦网</a></li>
          <li>Copyright 2003-2020 All Rights Reserved</li>
        </ul>
        <ul class="footer__ft__words">
          <li>举报投诉：damai_tousu@member.alibaba.com   浙江省杭州市余杭区文一西路969号</li>
        </ul>
        <ul class="footer__ft__words">
          <li>违法不良信息举报电话：020-62108294</li>
        </ul>
        <div class="footer__ft__img">

          <a rel="nofollow" title="电子营业执照" target="_blank"
             href="https://gw.alicdn.com/tfs/TB1U0tdqmR26e4jSZFEXXbwuXXa-844-587.png">
            <img class="footer__ft__img2" alt="" src="order/picture/tb1zo80pyoybunjssd4xxbskfxa-141-41.png">
          </a>

          <a rel="nofollow" target="_blank" href="https://www.pcisecuritystandards.org/">
            <img src="order/picture/tb1y580pyoybunjssd4xxbskfxa-83-50.png" class="footer__ft__img3">
          </a>
          <a target="_blank" href="https://search.szfw.org/cert/l/CX20130327002367002885"
             id="___szfw_logo___">
            <img class="footer__ft__img4" src="order/picture/tb1c4nnxtlybenjsszcxxbwhfxa-114-42.png">
          </a>
          <script type="text/javascript">(function () {
            document.getElementById('___szfw_logo___').oncontextmenu = function () {
              return false;
            }
          })();</script>
        </div>
      </div>
    </div>
  </div>
</div>
<style>
  .sidebar{top: 72.5%;}
  .sidebar .item .icon {
    background-image: url(static/order/images/tb1u1u9xmzqk1rjszfhxxb3cpxa-64-180.png);
  }
  img{border: 0;}
  .sidebar .item .qrcode{
    background: #fff url('static/order/images/tb1tbejskvok1rjszfnxxcxmvxa-280-280.jpg') no-repeat center center;
    background-size: 90%;
  }
  .sidebar .item .qrcode img{display:none;}
</style>
<!--
<script type="text/javascript" th:src="@{/js/bootstrap-3.3.7-dist/js/bootstrap.min.js}"></script>
-->
<script type="text/javascript" src="/order/js/0c6450ce73194b7990885114a97abd43.js" th:src="@{/order/js/0c6450ce73194b7990885114a97abd43.js}" crossorigin></script>
<script type="text/javascript">

  /*var tracker = new window.Tracker({
    pid: 'damaipc',
    plugins: [
      [window.interfaceTrackerPlugin],
      [window.performanceTrackerPlugin]
    ],
  });

  // 启动 tracker 并监听全局 JS 异常
  tracker.install();

  (function(){var f=function(){};if(!window.console){window.console={log:f,info:f,warn:f,debug:f,error:f}}}());*/
</script>
<!--script src="//g.alicdn.com/sd/baxia/1.0.11/baxiaCommon.js"></script-->



</body>
<script th:inline="javascript">


  var id = [[${id}]]; // 即可获取

  //页面加载事件
  $(function (){

    findOrder();
 //   findcouponId();
  })

  function findOrder(){
    $.ajax({
      url:"/ding/findOrder",
      data:{orderId:id},
      success:function(data){
        /*alert(data.shopTotal+"zong")
        alert(data.shopCount+"shu")*/
        $("#couponId").val(data.couponId)
        $("#dingdan").html(data.orderId)
        $("#dingdan2").html(data.orderId)
        $("#orderDate").html(data.orderDate)
        $("#zonnjia").html(data.shopTotal)
        $("#zonnjia2").html(data.shopTotal)
        $("#zongjia3").html(data.shopTotal)
        $("#contacts").html(data.buyUserName)
        $("#contactsPhone").html(data.contactsPhone)
        $("#zuo").html(data.site)
        $("#shopCount").html(data.shopCount)
        $("#shopName").html(data.shopEntity.goodsName)
        $("#shopImg").attr("src",data.shopEntity.goodsImg)
        $("#goodsAdress").html(data.shopEntity.goodsAdress);

        if (data.orderCondition==0){
          $("#state1").html("未支付")
          $("#state2").html("等待支付")
        }else if(data.orderCondition==1){
          $("#state1").html("已支付")
          $("#state2").html("等待商家确定")
        }else if(data.orderCondition==2){
          $("#state1").html("交易关闭")
          $("#state2").html(" 支付超时，已关闭交易")
        }else if(data.orderCondition==3){
          $("#state1").html("交易完成")
          $("#state2").html("商家已确定")
        }else if(data.orderCondition==4){
          $("#state1").html("退款中")
          $("#state2").html("等待商家确定")
        }

        var a= document.getElementById("youhui").value;

        if(a=null){
          $("#price").html(data.shopTotal/data.tickNum);
        }else{
          $("#price").html((data.shopTotal+a)/data.tickNum);

        }


      }
    })
  }
//优惠卷
  setTimeout(findcouponId,2000);
function  findcouponId(){
    var couponId=document.getElementById("couponId").value;
    var aa=  $("#zongjia3").html()
    var bb=$("#shopCount").html()

    $.ajax({
      url: "/ding/findcouponId",
      data: {couponId:couponId},
      success:function(data){
/*
        alert(data.tickNum+"sda")
*/
        $("#youhui").html("-"+data.tickNum+"元");
        /* var aa= document.getElementById("zongjia3").value;
        var bb=document.getElementById("shopCount").value;*/
        var cc=Number(aa)+Number(data.tickNum);
        var ss=      Math.floor(cc/bb);
        $("#price").html(ss);

      }
    })
}




  $(".user-header").on("mouseover",
          function (){
            $(".user-header").addClass("on");
          })
  $(".user-header").on("mouseout",
          function (){
            $(".user-header").removeClass("on");
          })
  //给下载添加on属性
  $(".download-header").on("mouseover",
          function (){
            $(".download-header").addClass("on");
          })
  $(".download-header").on("mouseout",
          function (){
            $(".download-header").removeClass("on");
          })
  //登录后显示登录信息
  $.ajax({
    url:"/home/getLoginInfo",
    success:function(data){
      if(data.loginInfo==300){
        $(".name-user").removeClass("show");
        $(".login-user").addClass("show");
        $(".out-login").removeClass("show");
      }else{
        $(".i-user").prop("src",data.loginInfo.userImg);
        $(".name-user").html(data.loginInfo.userName);
        $(".name-user").addClass("show");
        $(".login-user").removeClass("show");
        $(".out-login").addClass("show");
      }
    }
  })
  //跳转登录
  function loginUser(){
    location.href="/login";
  }
  //登录要修改js文件 span-user 的location.href

  //退出登录
  function logout(){
    $.ajax({
      url:"/home/logout",
      success:function(){
        //刷新页面
        location.reload();
      }
    })
  }

  //搜索
  function searchGoods(){
    var searchGoods = $("#input-search").val();
    location.href="/homeJump/toSearch?searchGoods="+searchGoods;
  }







</script>
<script type="text/javascript" src="/order/js/vendor.js" th:src="@{/order/js/vendor.js}"></script>
<script type="text/javascript" src="/order/js/index.js" th:src="@{order/js/index.js}"></script>
<script data-config="{combine:true}" src="/order/js/index.js" th:src="@{order/js/index.js}"></script>
<script src="/order/js/index.js" th:src="@{/order/js/index.js}" ></script>
</html>